projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22b79f
)
Handle geometry change correctly
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 31 Aug 2009 23:41:09 +0000
(19:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 31 Aug 2009 23:41:09 +0000
(19:41 -0400)
This makes sure that the button is properly prelighted when rotating it
underneath the pointer by using keynav on the scale.
demos/gtk-demo/offscreen_window.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/offscreen_window.c
b/demos/gtk-demo/offscreen_window.c
index b07db50e918766ad52ad66f0bde79ac065d0f127..0295fe838437e60abcf07a1b56190c1c3f09e696 100644
(file)
--- a/
demos/gtk-demo/offscreen_window.c
+++ b/
demos/gtk-demo/offscreen_window.c
@@
-366,7
+366,7
@@
gtk_rotated_bin_set_angle (GtkRotatedBin *bin,
bin->angle = angle;
gtk_widget_queue_resize (GTK_WIDGET (bin));
- /* TODO: Really needs to resent pointer events if over the rotated window */
+ gdk_window_geometry_changed (bin->offscreen_window);
}
static void